This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
~Maria Asaponeteretsi 3.Nov.03 06:43 PM a Web browser Notes Client6.0.1Windows 2000
Hello!
I use Domino COM object in VB6.
I need to create a local temporary database and copy document there
My code is
Dim oNotesSession As NotesSession
Dim oNotesDoc As NotesDocument
Dim oNotesDatabase As NotesDatabase
Dim oNotesAttachment As NotesEmbeddedObject
Dim oNotesTempDatabase As NotesDatabase
Dim oTempNotesDocument As NotesDocument
Dim oNotesDbDirectory As NotesDbDirectory
Set oNotesSession = New NotesSession
Set oNotesDatabase = oNotesSession.GetDatabase(NotesServerName, NotesDatabaseName)
Set oNotesDoc = oNotesDatabase.GetDocumentByID(NotesDocID)
Set oNotesDbDirectory =oNotesSession.GetDbDirectory("")
Set oNotesTempDatabase = oNotesDbDirectory.CreateDatabase("MyTemp.nsf")
Set oTempNotesDocument = oNotesDoc.CopyToDatabase(oNotesTempDatabase)
....
The problem is that the CopyToDatabase method hangs. Does anyone know why this happens? Thanks.